package com.fang.mathtest;

public class student extends human{
    //学校，学号，学生的的工作是学习。，附代码，及截图
    private String schoolName;
    private String schoolNum;


    public student() {
    }

    public student(String schoolName, String schoolNum) {
        this.schoolName = schoolName;
        this.schoolNum = schoolNum;
    }
    public void working(){
        System.out.println("学习");
    }
   private void car(){
        System.out.println("火车");
    }

    public static void main(String[] args) {
      student stu = new student();
      stu.eating();
      stu.sleeping();
      stu.working();


    }
}
